<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Vue Categories | KTBlog</title>
    <meta name="generator" content="VuePress 1.8.2">
    <link rel="icon" href="/KTblogs/favicon.ico">
    <meta name="description" content="正在努力加载中...">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    
    <link rel="preload" href="/KTblogs/assets/css/0.styles.dae10423.css" as="style"><link rel="preload" href="/KTblogs/assets/js/app.1209f32c.js" as="script"><link rel="preload" href="/KTblogs/assets/js/7.9f93f4d2.js" as="script"><link rel="preload" href="/KTblogs/assets/js/1.a007e6af.js" as="script"><link rel="preload" href="/KTblogs/assets/js/12.7cad707f.js" as="script"><link rel="prefetch" href="/KTblogs/assets/js/10.4c1bb3b5.js"><link rel="prefetch" href="/KTblogs/assets/js/11.33f2f190.js"><link rel="prefetch" href="/KTblogs/assets/js/13.772f6549.js"><link rel="prefetch" href="/KTblogs/assets/js/14.afaf0d5d.js"><link rel="prefetch" href="/KTblogs/assets/js/15.743e3229.js"><link rel="prefetch" href="/KTblogs/assets/js/16.2e93ce25.js"><link rel="prefetch" href="/KTblogs/assets/js/17.53081146.js"><link rel="prefetch" href="/KTblogs/assets/js/18.8e4a5cf6.js"><link rel="prefetch" href="/KTblogs/assets/js/19.3bc54c14.js"><link rel="prefetch" href="/KTblogs/assets/js/2.3894bcd5.js"><link rel="prefetch" href="/KTblogs/assets/js/20.3b3e6cff.js"><link rel="prefetch" href="/KTblogs/assets/js/4.fdeda5c7.js"><link rel="prefetch" href="/KTblogs/assets/js/5.fb8d4ad6.js"><link rel="prefetch" href="/KTblogs/assets/js/6.11b6c1ed.js"><link rel="prefetch" href="/KTblogs/assets/js/8.2c391b26.js"><link rel="prefetch" href="/KTblogs/assets/js/9.7b091b10.js">
    <link rel="stylesheet" href="/KTblogs/assets/css/0.styles.dae10423.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container categories-wrapper no-sidebar" data-v-edf8551e data-v-9b0c2abc><div data-v-edf8551e><div id="loader-wrapper" class="loading-wrapper" data-v-d48f4d20 data-v-edf8551e data-v-edf8551e><div class="loader-main" data-v-d48f4d20><div data-v-d48f4d20></div><div data-v-d48f4d20></div><div data-v-d48f4d20></div><div data-v-d48f4d20></div></div> <!----> <!----></div> <div class="password-shadow password-wrapper-out" style="display:none;" data-v-24de1186 data-v-edf8551e data-v-edf8551e><h3 class="title" data-v-24de1186 data-v-24de1186>KTBlog</h3> <p class="description" data-v-24de1186 data-v-24de1186>正在努力加载中...</p> <label id="box" class="inputBox" data-v-24de1186 data-v-24de1186><input type="password" value="" data-v-24de1186> <span data-v-24de1186>Konck! Knock!</span> <button data-v-24de1186>OK</button></label> <div class="footer" data-v-24de1186 data-v-24de1186><span data-v-24de1186><i class="iconfont reco-theme" data-v-24de1186></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-24de1186>vuePress-theme-reco</a></span> <span data-v-24de1186><i class="iconfont reco-copyright" data-v-24de1186></i> <a data-v-24de1186><span data-v-24de1186>KT</span>
            
          <span data-v-24de1186>2021 - </span>
          2022
        </a></span></div></div> <div class="hide" data-v-edf8551e><header class="navbar" data-v-edf8551e><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/KTblogs/" class="home-link router-link-active"><img src="/KTblogs/dog.jpg" alt="KTBlog" class="logo"> <span class="site-name">KTBlog</span></a> <div class="links"><div class="color-picker"><a class="color-button"><i class="iconfont reco-color"></i></a> <div class="color-picker-menu" style="display:none;"><div class="mode-options"><h4 class="title">Choose mode</h4> <ul class="color-mode-options"><li class="dark">dark</li><li class="auto active">auto</li><li class="light">light</li></ul></div></div></div> <div class="search-box"><i class="iconfont reco-search"></i> <input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/KTblogs/" class="nav-link"><i class="iconfont reco-home"></i>
  主页
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      技术栈
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/KTblogs/categories/Vuepress/" class="nav-link"><i class="undefined"></i>
  Vuepress
</a></li><li class="dropdown-item"><!----> <a href="/KTblogs/categories/随笔/" class="nav-link"><i class="undefined"></i>
  随笔
</a></li><li class="dropdown-item"><!----> <a href="/KTblogs/categories/Vue/" aria-current="page" class="nav-link router-link-exact-active router-link-active"><i class="undefined"></i>
  Vue
</a></li><li class="dropdown-item"><!----> <a href="/KTblogs/categories/Git/" class="nav-link"><i class="undefined"></i>
  Git
</a></li></ul></div></div><div class="nav-item"><a href="/KTblogs/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  标签
</a></div><div class="nav-item"><a href="/KTblogs/timeline/" class="nav-link"><i class="iconfont reco-date"></i>
  时间轴
</a></div> <!----></nav></div></header> <div class="sidebar-mask" data-v-edf8551e></div> <aside class="sidebar" data-v-edf8551e><div class="personal-info-wrapper" data-v-29bd5bbe data-v-edf8551e><img src="/KTblogs/dog.jpg" alt="author-avatar" class="personal-img" data-v-29bd5bbe> <h3 class="name" data-v-29bd5bbe>
    KT
  </h3> <div class="num" data-v-29bd5bbe><div data-v-29bd5bbe><h3 data-v-29bd5bbe>6</h3> <h6 data-v-29bd5bbe>文章</h6></div> <div data-v-29bd5bbe><h3 data-v-29bd5bbe>4</h3> <h6 data-v-29bd5bbe>标签</h6></div></div> <ul class="social-links" data-v-29bd5bbe></ul> <hr data-v-29bd5bbe></div> <nav class="nav-links"><div class="nav-item"><a href="/KTblogs/" class="nav-link"><i class="iconfont reco-home"></i>
  主页
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      技术栈
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/KTblogs/categories/Vuepress/" class="nav-link"><i class="undefined"></i>
  Vuepress
</a></li><li class="dropdown-item"><!----> <a href="/KTblogs/categories/随笔/" class="nav-link"><i class="undefined"></i>
  随笔
</a></li><li class="dropdown-item"><!----> <a href="/KTblogs/categories/Vue/" aria-current="page" class="nav-link router-link-exact-active router-link-active"><i class="undefined"></i>
  Vue
</a></li><li class="dropdown-item"><!----> <a href="/KTblogs/categories/Git/" class="nav-link"><i class="undefined"></i>
  Git
</a></li></ul></div></div><div class="nav-item"><a href="/KTblogs/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  标签
</a></div><div class="nav-item"><a href="/KTblogs/timeline/" class="nav-link"><i class="iconfont reco-date"></i>
  时间轴
</a></div> <!----></nav> <!----> </aside> <div class="password-shadow password-wrapper-in" style="display:none;" data-v-24de1186 data-v-edf8551e><h3 class="title" data-v-24de1186 data-v-24de1186>Vue Categories</h3> <!----> <label id="box" class="inputBox" data-v-24de1186 data-v-24de1186><input type="password" value="" data-v-24de1186> <span data-v-24de1186>Konck! Knock!</span> <button data-v-24de1186>OK</button></label> <div class="footer" data-v-24de1186 data-v-24de1186><span data-v-24de1186><i class="iconfont reco-theme" data-v-24de1186></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-24de1186>vuePress-theme-reco</a></span> <span data-v-24de1186><i class="iconfont reco-copyright" data-v-24de1186></i> <a data-v-24de1186><span data-v-24de1186>KT</span>
            
          <span data-v-24de1186>2021 - </span>
          2022
        </a></span></div></div> <div data-v-edf8551e><ul class="category-wrapper" style="display:none;" data-v-9b0c2abc data-v-9b0c2abc><li class="category-item" data-v-9b0c2abc><a href="/KTblogs/categories/Vuepress/" data-v-9b0c2abc><span class="category-name" data-v-9b0c2abc>Vuepress</span> <span class="post-num" style="background-color:#e15b64;" data-v-9b0c2abc>2</span></a></li><li class="category-item" data-v-9b0c2abc><a href="/KTblogs/categories/随笔/" data-v-9b0c2abc><span class="category-name" data-v-9b0c2abc>随笔</span> <span class="post-num" style="background-color:#f47e60;" data-v-9b0c2abc>1</span></a></li><li class="category-item active" data-v-9b0c2abc><a href="/KTblogs/categories/Vue/" aria-current="page" class="router-link-exact-active router-link-active" data-v-9b0c2abc><span class="category-name" data-v-9b0c2abc>Vue</span> <span class="post-num" style="background-color:#f47e60;" data-v-9b0c2abc>2</span></a></li><li class="category-item" data-v-9b0c2abc><a href="/KTblogs/categories/Git/" data-v-9b0c2abc><span class="category-name" data-v-9b0c2abc>Git</span> <span class="post-num" style="background-color:#fb9b5f;" data-v-9b0c2abc>1</span></a></li></ul> <div class="abstract-wrapper list" style="display:none;" data-v-1d1628e0 data-v-9b0c2abc data-v-9b0c2abc><div class="abstract-item" data-v-7dfde79b data-v-1d1628e0><!----> <div class="title" data-v-7dfde79b><!----> <a href="/KTblogs/docs/Web/vue/provide.html" data-v-7dfde79b>provide和inject</a></div> <div class="abstract" data-v-7dfde79b></div> <div data-v-6b827e97 data-v-7dfde79b><i class="iconfont reco-account" data-v-6b827e97><span data-v-6b827e97>KT</span></i> <i class="iconfont reco-date" data-v-6b827e97><span data-v-6b827e97>2021/12/16</span></i> <!----> <i class="tags iconfont reco-tag" data-v-6b827e97><span class="tag-item" data-v-6b827e97>Vue2.x</span></i></div></div><div class="abstract-item" data-v-7dfde79b data-v-1d1628e0><!----> <div class="title" data-v-7dfde79b><!----> <a href="/KTblogs/docs/Web/vue/vueRef.html" data-v-7dfde79b>Vue父子间通信</a></div> <div class="abstract" data-v-7dfde79b></div> <div data-v-6b827e97 data-v-7dfde79b><i class="iconfont reco-account" data-v-6b827e97><span data-v-6b827e97>KT</span></i> <i class="iconfont reco-date" data-v-6b827e97><span data-v-6b827e97>2021/12/14</span></i> <!----> <i class="tags iconfont reco-tag" data-v-6b827e97><span class="tag-item" data-v-6b827e97>Vue2.x</span></i></div></div> <div class="pagation pagation" style="display:none;" data-v-094d08e4 data-v-1d1628e0><div class="pagation-list" data-v-094d08e4><span unselectable="on" class="jump" style="display:none;" data-v-094d08e4>上一页</span> <span class="jump" style="display:none;" data-v-094d08e4>1</span> <span class="ellipsis" style="display:none;" data-v-094d08e4>...</span> <span class="jump bgprimary" data-v-094d08e4>1</span> <span class="ellipsis" style="display:none;" data-v-094d08e4>...</span> <span class="jump" style="display:none;" data-v-094d08e4>1</span> <span class="jump" style="display:none;" data-v-094d08e4>下一页</span> <span class="jumppoint" data-v-094d08e4>跳转至</span> <span class="jumpinp" data-v-094d08e4><input type="text" value="" data-v-094d08e4></span> <span class="jump gobtn" data-v-094d08e4>前往</span></div></div></div></div></div></div></div><div class="global-ui"><div class="back-to-ceiling" style="right:1rem;bottom:6rem;width:2.5rem;height:2.5rem;border-radius:.25rem;line-height:2.5rem;display:none;" data-v-c6073ba8 data-v-c6073ba8><svg t="1574745035067" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5404" class="icon" data-v-c6073ba8><path d="M526.60727968 10.90185116a27.675 27.675 0 0 0-29.21455937 0c-131.36607665 82.28402758-218.69155461 228.01873535-218.69155402 394.07834331a462.20625001 462.20625001 0 0 0 5.36959153 69.94390903c1.00431239 6.55289093-0.34802892 13.13561351-3.76865779 18.80351572-32.63518765 54.11355614-51.75690182 118.55860487-51.7569018 187.94566865a371.06718723 371.06718723 0 0 0 11.50484808 91.98906777c6.53300375 25.50556257 41.68394495 28.14064038 52.69160883 4.22606766 17.37162448-37.73630017 42.14135425-72.50938081 72.80769204-103.21549295 2.18761121 3.04276886 4.15646224 6.24463696 6.40373557 9.22774369a1871.4375 1871.4375 0 0 0 140.04691725 5.34970492 1866.36093723 1866.36093723 0 0 0 140.04691723-5.34970492c2.24727335-2.98310674 4.21612437-6.18497483 6.3937923-9.2178004 30.66633723 30.70611158 55.4360664 65.4791928 72.80769147 103.21549355 11.00766384 23.91457269 46.15860503 21.27949489 52.69160879-4.22606768a371.15156223 371.15156223 0 0 0 11.514792-91.99901164c0-69.36717486-19.13165746-133.82216804-51.75690182-187.92578088-3.42062944-5.66790279-4.76302748-12.26056868-3.76865837-18.80351632a462.20625001 462.20625001 0 0 0 5.36959269-69.943909c-0.00994388-166.08943902-87.32547796-311.81420293-218.6915546-394.09823051zM605.93803103 357.87693858a93.93749974 93.93749974 0 1 1-187.89594924 6.1e-7 93.93749974 93.93749974 0 0 1 187.89594924-6.1e-7z" p-id="5405" data-v-c6073ba8></path><path d="M429.50777625 765.63860547C429.50777625 803.39355007 466.44236686 1000.39046097 512.00932183 1000.39046097c45.56695499 0 82.4922232-197.00623328 82.5015456-234.7518555 0-37.75494459-36.9345906-68.35043303-82.4922232-68.34111062-45.57627738-0.00932239-82.52019037 30.59548842-82.51086798 68.34111062z" p-id="5406" data-v-c6073ba8></path></svg></div><!----><APlayer audio="" fixed="true" mini="true" autoplay="autoplay" theme="#f9bcdd" loop="loop" order="random" preload="auto" volume="0.1" mutex="true" lrc-type="0" list-folded="true" list-max-height="250" storage-name="vuepress-plugin-meting" id="aplayer-fixed"></APlayer><div class="kanbanniang" data-v-5775ee02><div class="banniang-container" style="display:;" data-v-5775ee02><div class="messageBox" style="right:68px;bottom:190px;display:none;" data-v-5775ee02>
      欢迎来到 KTBlog
    </div> <div class="operation" style="right:90px;bottom:40px;display:none;" data-v-5775ee02><i class="kbnfont kbn-ban-home ban-home" data-v-5775ee02></i> <i class="kbnfont kbn-ban-message message" data-v-5775ee02></i> <i class="kbnfont kbn-ban-close close" data-v-5775ee02></i> <a target="_blank" href="https://vuepress-theme-reco.recoluan.com/views/plugins/kanbanniang.html" data-v-5775ee02><i class="kbnfont kbn-ban-info info" data-v-5775ee02></i></a> <i class="kbnfont kbn-ban-theme skin" style="display:;" data-v-5775ee02></i></div> <canvas id="banniang" width="150" height="220" class="live2d" style="right:90px;bottom:-20px;opacity:0.9;" data-v-5775ee02></canvas></div> <div class="showBanNiang" style="display:none;" data-v-5775ee02>
    看板娘
  </div></div><canvas id="vuepress-canvas-cursor"></canvas></div></div>
    <script src="/KTblogs/assets/js/app.1209f32c.js" defer></script><script src="/KTblogs/assets/js/7.9f93f4d2.js" defer></script><script src="/KTblogs/assets/js/1.a007e6af.js" defer></script><script src="/KTblogs/assets/js/12.7cad707f.js" defer></script>
  </body>
</html>
